.class Lcom/estrongs/android/view/a0$h;
.super Ljava/lang/Object;
.source "LogGridViewWrapper.java"

# interfaces
.implements Lcom/estrongs/android/pop/app/log/q$m;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/a0;->P0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/a0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/a0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(II)V
    .locals 6

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {v0}, Lcom/estrongs/android/view/a0;->t(Lcom/estrongs/android/view/a0;)Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->isRefreshing()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {v0}, Lcom/estrongs/android/view/a0;->t(Lcom/estrongs/android/view/a0;)Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V

    :cond_0
    if-lez p2, :cond_1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {v0}, Lcom/estrongs/android/view/a0;->u(Lcom/estrongs/android/view/a0;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    iget-object v2, v2, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    .line 7
    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0f0001

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v4, v1

    invoke-virtual {v2, v3, p2, v4}, Landroid/content/res/Resources;->getQuantityString(II[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p2

    .line 8
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 9
    iget-object p2, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p2}, Lcom/estrongs/android/view/a0;->v(Lcom/estrongs/android/view/a0;)V

    .line 10
    :cond_1
    iget-object p2, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-virtual {p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->t0()V

    .line 11
    iget-object p2, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p2}, Lcom/estrongs/android/view/a0;->q(Lcom/estrongs/android/view/a0;)Landroid/widget/LinearLayout;

    move-result-object p2

    const/16 v0, 0x8

    invoke-virtual {p2, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    if-lez p1, :cond_2

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->r(Lcom/estrongs/android/view/a0;)Landroid/widget/TextView;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->s(Lcom/estrongs/android/view/a0;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    goto :goto_0

    .line 14
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->r(Lcom/estrongs/android/view/a0;)Landroid/widget/TextView;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 15
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->s(Lcom/estrongs/android/view/a0;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 16
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->c(Lcom/estrongs/android/view/a0;)Ljava/util/HashMap;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/HashMap;->size()I

    move-result p1

    if-eqz p1, :cond_3

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->d(Lcom/estrongs/android/view/a0;)V

    .line 18
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->e(Lcom/estrongs/android/view/a0;)Ljava/util/ArrayList;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-eqz p1, :cond_4

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->f(Lcom/estrongs/android/view/a0;)V

    :cond_4
    return-void
.end method

.method public a(Z)V
    .locals 1

    if-nez p1, :cond_0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->q(Lcom/estrongs/android/view/a0;)Landroid/widget/LinearLayout;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 2
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->r(Lcom/estrongs/android/view/a0;)Landroid/widget/TextView;

    move-result-object p1

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/a0$h;->a:Lcom/estrongs/android/view/a0;

    invoke-static {p1}, Lcom/estrongs/android/view/a0;->s(Lcom/estrongs/android/view/a0;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void
.end method
